package user

import (
	"fmt"
	serv "tacitus/library/services"
)

// 服务端实现定义用户服务的接口
type Service struct {}

func (s *Service) MatchNickName(ids []int64, res *map[int64]string) (err error) {
	fmt.Println("User.Service.MatchNickName")
	*res, err = MatchNickName(ids)
	return
}

func init() {
	// 注册本地服务
	serv.Local("User", new(Service))
}